<template>
    <div>
        <hd-image :action="`/api/upload/local`" v-model="form[field.name]"/>
        <div>
            <hd-alert :alert="alert">{{ alert.title }}</hd-alert>
        </div>
    </div>

</template>

<script>
export default {
    props: ['field', 'form', 'alert']
}
</script>

<style></style>
